package com.dingwei.superiordiary.bean;

import com.dingwei.superiordiary.base.MyBaseBean;
import com.google.gson.annotations.SerializedName;

/**
 * Created time 2018/2/27.
 * Creator 南柯一梦丶 on
 * Personal signature 余生还长 何必慌张
 * Page description :
 */

public class OrderPayBean extends MyBaseBean {
    /**
     * data : {"order":{"code":"180227110422785966","amount":14},"zfb":"alipay_sdk=alipay-sdk-php-20161101&app_id=2018011201797242&biz_content=%7B%22body%22%3A%22%5Cu5546%5Cu76df%5Cu652f%5Cu4ed8%5Cu5b9d%22%2C%22subject%22%3A%22%5Cu8bda%5Cu4fe1%5Cu5546%5Cu76df%22%2C%22out_trade_no%22%3A%2218022711042261926920%22%2C%22timeout_express%22%3A%2230m%22%2C%22total_amount%22%3A14%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F139.199.211.51%2Fyprj%2Fconsumer%2Fpay%2FzfbCallback&sign_type=RSA2&timestamp=2018-02-27+11%3A04%3A22&version=1.0&sign=OOhajt1NYsGhuBf0j1v1koHFlK9U%2Fu0QYKsawE5fPH8e9J%2FGrSf7y2L8lfc0mZcm6L1fy3OG%2FzlrRVVzVGUUihqe49AmDKj09s2WNwTsfmWLeufTSESDfOR1zsxakQ1NXm8J87BibkO%2FL4JAW9L0GyCBeHYsklwInupuo5oV%2F94RChwMxfus2AdIsQjc8KB8RqJpx8voEXkWBjGyrSb%2B%2BNuHkT%2F4PtSBAWO30DqKWnFXRJWlcpLNLfJYPTYs6mouCWcBRO85p2S8g7u%2Fm04PPqoLB9hGorc3CAt5WqalhFE5%2BkgsK3re0atticI4olyvCeyTV81ac4Z69Ds1%2BGAV6Q%3D%3D","wx":{"appid":"wxcaddddcdd27df7ac","partnerid":"1498112342","prepayid":"wx201802271104221be22b1bb00501148868","package":"Sign=WXPay","noncestr":"4we3hgs52i9os34x998j1ex5shfqt0ay","timestamp":1519700662,"paysign":"C419E6D32E7D13F7E584F19455AB480B"}}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * order : {"code":"180227110422785966","amount":14}
         * zfb : alipay_sdk=alipay-sdk-php-20161101&app_id=2018011201797242&biz_content=%7B%22body%22%3A%22%5Cu5546%5Cu76df%5Cu652f%5Cu4ed8%5Cu5b9d%22%2C%22subject%22%3A%22%5Cu8bda%5Cu4fe1%5Cu5546%5Cu76df%22%2C%22out_trade_no%22%3A%2218022711042261926920%22%2C%22timeout_express%22%3A%2230m%22%2C%22total_amount%22%3A14%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&charset=UTF-8&format=json&method=alipay.trade.app.pay&notify_url=http%3A%2F%2F139.199.211.51%2Fyprj%2Fconsumer%2Fpay%2FzfbCallback&sign_type=RSA2&timestamp=2018-02-27+11%3A04%3A22&version=1.0&sign=OOhajt1NYsGhuBf0j1v1koHFlK9U%2Fu0QYKsawE5fPH8e9J%2FGrSf7y2L8lfc0mZcm6L1fy3OG%2FzlrRVVzVGUUihqe49AmDKj09s2WNwTsfmWLeufTSESDfOR1zsxakQ1NXm8J87BibkO%2FL4JAW9L0GyCBeHYsklwInupuo5oV%2F94RChwMxfus2AdIsQjc8KB8RqJpx8voEXkWBjGyrSb%2B%2BNuHkT%2F4PtSBAWO30DqKWnFXRJWlcpLNLfJYPTYs6mouCWcBRO85p2S8g7u%2Fm04PPqoLB9hGorc3CAt5WqalhFE5%2BkgsK3re0atticI4olyvCeyTV81ac4Z69Ds1%2BGAV6Q%3D%3D
         * wx : {"appid":"wxcaddddcdd27df7ac","partnerid":"1498112342","prepayid":"wx201802271104221be22b1bb00501148868","package":"Sign=WXPay","noncestr":"4we3hgs52i9os34x998j1ex5shfqt0ay","timestamp":1519700662,"paysign":"C419E6D32E7D13F7E584F19455AB480B"}
         */

        public OrderBean order;
        public String zfb;
        public WxBean wx;

        public static class OrderBean {
            /**
             * code : 180227110422785966
             * amount : 14
             */

            public String code;
            public double amount;
        }

        public static class WxBean {
            /**
             * appid : wxcaddddcdd27df7ac
             * partnerid : 1498112342
             * prepayid : wx201802271104221be22b1bb00501148868
             * package : Sign=WXPay
             * noncestr : 4we3hgs52i9os34x998j1ex5shfqt0ay
             * timestamp : 1519700662
             * paysign : C419E6D32E7D13F7E584F19455AB480B
             */

            public String appid;
            public String partnerid;
            public String prepayid;
            @SerializedName("package")
            public String packageX;
            public String noncestr;
            public int timestamp;
            public String paysign;
        }
    }
}
